package com.yeziji.constant;

import com.yeziji.common.CommonEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 数据同步状态枚举
 *
 * @author hwy
 * @since 2024/10/26 18:36
 **/
@Getter
@AllArgsConstructor
public enum DataSyncStatusEnum implements CommonEnum {
    DISCARD(-2, "丢弃同步"),
    FAILED(-1, "同步失败"),
    WAIT(0, "待同步"),
    SYNCING(1, "同步中"),
    SUCCESS(2, "同步成功");

    private final int code;
    private final String desc;
}
